﻿using System;
using System.Windows.Data;
using System.Globalization;

namespace MedLink2011.Views.Patients.Controls.FirstLook.Converters
{
    public class StatusConverter : IValueConverter
    {
        public object Convert(
            object value,
            Type targetType,
            object parameter,
            CultureInfo culture)
        {
            if (value != null)
            {
                return value ;
            }

            return "Tom Black";
        }

        public object ConvertBack(
            object value,
            Type targetType,
            object parameter,
            CultureInfo culture)
        {
            return value;
        }
    }
}
